package planner

class DateTagLib {
  static namespace = 'trip'  
    
  def thisYear = {
    out << Calendar.getInstance().get(Calendar.YEAR)
  }
  
  def copyright = { attrs, body ->
    out << "<div id='copyright'>"
    out << "&copy; ${attrs['startYear']} - ${thisYear()}, ${body()}"
    out << " All Rights Reserved."
    out << "</div>"
  }
}
